<template>
  <div>
    <h2>子组件</h2>
  </div>
</template>

<script>
export default {
  setup () {
    const validate = (callback) => {
      console.log(123, callback)
      callback()
    }
    return { validate }
  }
}
</script>

<style lang="scss" scoped>

</style>
